﻿using System.Collections.Generic;
using JetBrains.Annotations;

namespace Xms.Abp.Features;

public interface IFeaturesDefinitionManager
{
    [NotNull]
    FeatureValueDefinition Get([NotNull] string name);

    IReadOnlyList<FeatureValueDefinition> GetAll();

    FeatureValueDefinition GetOrNull(string name);

    IReadOnlyList<FeaturesGroupDefinition> GetGroups();
}
